<!--
代码为自动生成 Created by www.magicalcoder.com
 如果你改变了此类 read 请将此行删除
 欢迎加入官方QQ群:323237052
-->
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head  th:include="magicalcoder/v102/include/head :: commonHead('商品列表')"/>
<body class="childrenBody <!-- layui-hide-->">
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-header">作者：本界面由MagicalCoder拖拽编码而成</div>
        <div class="layui-card-body layui-anim layui-anim-rotate">本界面： 傻叉主人硬是把我重新拖拽编码成这样的，我本来长得跟商品类别一样的正统；但是这丝毫不影响我使用，我被他改的面目全非；请你把我改的好看一点吧；试试手机访问我看看</div>
    </div>
    <div class="layui-tab zoom">
        <ul class="layui-tab-title">
            <li class="">查询条件</li>
            <li class=" layui-this">返回结果</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item">
                <div class="layui-card">
                    <div class="layui-card-header">我是谁？</div>
                    <div class="layui-card-body">
                        <form class="layui-form queryForm security_list_query_form">
                            <div class="layui-form-item">
                                <div class="layui-inline security_list_query_param_id">
                                    <input type="text" class="layui-input" data-name="id" name="idFirst" placeholder="ID">
                                </div>
                                <div class="layui-inline security_list_query_param_goodsName">
                                    <input type="text" class="layui-input" data-name="goodsName" name="goodsNameFirst" placeholder="商品名">
                                </div>
                                <div class="layui-inline security_list_query_param_publishStatus">
                                    <select data-name="publishStatus" name="publishStatusFirst" class="layui-input">
                                        <option value="">请选择</option>
                                        <option value="0">未发表</option>
                                        <option value="1">已发布</option>
                                    </select>
                                </div>
                                <div class="layui-inline security_list_query_param_goodsStatus">
                                    <div class="layui-form-label">商品状态</div>
                                    <div class="layui-input-inline">
                                        <input type="radio" data-name="goodsStatus" name="goodsStatusFirst" lay-skin="primary" value="0" title="商品" class="layui-input">
                                        <input type="radio" data-name="goodsStatus" name="goodsStatusFirst" lay-skin="primary" value="1" title="货品" class="layui-input">
                                    </div>
                                </div>
                                <div class="layui-inline security_list_query_param_price">
                                    <input type="text" class="layui-input" data-name="price" name="priceFirst" placeholder="价格">
                                </div>
                                <div class="layui-inline security_list_query_param_storeCount">
                                    <input type="text" class="layui-input" data-name="storeCount" name="storeCountFirst" placeholder="库存">
                                </div>
                                <div class="layui-inline security_list_query_param_createTime">
                                    <input type="text" data-name="createTime" name="createTimeFirst" lay-verify="datetime" placeholder="起始创建时间" autocomplete="off" class="magicalcoder-laydate layui-input" lay-key="1">
                                </div>
                                <div class="layui-inline security_list_query_param_createTime">-</div>
                                <div class="layui-inline security_list_query_param_createTime">
                                    <input type="text" data-name="createTime" name="createTimeSecond" lay-verify="datetime" placeholder="终止创建时间" autocomplete="off" class="magicalcoder-laydate layui-input" lay-key="2">
                                </div>
                                <div class="layui-inline security_list_query_param_updateTime">
                                    <input type="text" data-name="updateTime" name="updateTimeFirst" lay-verify="datetime" placeholder="起始更新时间" autocomplete="off" class="magicalcoder-laydate layui-input" lay-key="3">
                                </div>
                                <div class="layui-inline security_list_query_param_updateTime">-</div>
                                <div class="layui-inline security_list_query_param_updateTime">
                                    <input type="text" data-name="updateTime" name="updateTimeSecond" lay-verify="datetime" placeholder="终止更新时间" autocomplete="off" class="magicalcoder-laydate layui-input" lay-key="4">
                                </div>
                                <div class="layui-inline security_list_query_param_imgSrc">
                                    <input type="text" class="layui-input" data-name="imgSrc" name="imgSrcFirst" placeholder="图片">
                                </div>
                                <div class="layui-inline security_list_query_param_goodsCategoryId">
                                    <select data-name="goodsCategoryId" class="magicalcoder-foreign-select2 layui-input" lay-ignore="true" name="goodsCategoryIdFirst" style="height: 30px; width: 200px; display: inline-block;" data-url="admin/goods_category_rest/search" data-id="id" data-text-fields="name" placeholder="所属类目" data-limit="20">
                                        <option value="">
                                        </option>
                                    </select>
                                </div>
                                <div class="layui-inline security_list_query_operate_search">
                                    <a class="layui-btn  layui-btn-radius layui-btn-sm search_btn" data-type="reload">
                                        <i class="layui-icon layui-icon-search">
                                        </i>搜索</a>
                                    <button type="reset" class="layui-btn layui-btn-radius layui-btn-warm layui-btn-sm">
                                        <i class="layui-icon layui-icon-refresh">
                                        </i>重置</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
            <div class="layui-tab-item  layui-show">
                <div class="layui-card">
                    <div class="layui-inline security_list_query_operate_add_news">
                        <a class="layui-btn layui-btn-normal layui-btn-sm addNews_btn">
                            <i class="layui-icon layui-icon-add-1">
                            </i>添加</a>
                    </div>
                    <div class="layui-inline security_list_query_operate_del_all">
                        <a class="layui-btn layui-btn-danger layui-btn-sm delAll_btn">
                            <i class="layui-icon layui-icon-delete">
                            </i>批量删除</a>
                    </div>
                    <div class="layui-inline security_list_export_excel_all">
                        <a class="layui-btn layui-btn-sm exportExcelAll_btn" title="数据量很多时谨慎使用,出于安全考虑最大导出20000条" data-max-export-count="20000">
                            <i class="layui-icon layui-icon-export">
                            </i>导出EXCEL</a>
                    </div>
                    <div class="layui-card-body">
                        <form class="layui-form tableForm security_list_table_form">
                            <table class="security_list_table" id="newsList" lay-filter="newsListFilter" data-primary-fields="id">
                            </table>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
        <script type="text/html" id="publishStatusTemplate">
            <select class="magicalcoder-table-single-select2 security_list_table_form_publishStatus" name="publishStatus" lay-ignore="true" data-identify="{{= d.id }}" lay-verify="magicalCoderVerify" magicalcoder-verify=""  placeholder="是否发布">
                {{#  if(d.publishStatus+"" == ""){ 		 }}
                <option value="" selected="selected">请选择</option>
                {{#  }else{							}}
                <option value="">请选择</option>
                {{#  } 								}}
                {{#  if(d.publishStatus+"" == "0"){ 		 }}
                <option value="0" selected="selected">未发表</option>
                {{#  }else{							}}
                <option value="0">未发表</option>
                {{#  } 								}}
                {{#  if(d.publishStatus+"" == "1"){ 		 }}
                <option value="1" selected="selected">已发布</option>
                {{#  }else{							}}
                <option value="1">已发布</option>
                {{#  } 								}}
            </select>
        </script>
        <script type="text/html" id="createTimeTemplate">
            <input type="text" id="_createTime_{{= d.id }}" name="createTime"  data-identify="{{= d.id }}"  autocomplete="off" class="magicalcoder-table-laydate layui-input security_list_table_form_createTime" value="{{= d.createTime}}" lay-verify="magicalCoderVerify" magicalcoder-verify=""  placeholder="创建时间"/>
        </script>
        <script type="text/html" id="updateTimeTemplate">
            <input type="text" id="_updateTime_{{= d.id }}" name="updateTime"  data-identify="{{= d.id }}"  autocomplete="off" class="magicalcoder-table-laydate layui-input security_list_table_form_updateTime" value="{{= d.updateTime}}" lay-verify="magicalCoderVerify" magicalcoder-verify=""  placeholder="更新时间"/>
        </script>
    <!--操作-->
    <script type="text/html" id="newsListOperateTemplate">
        <a class="layui-btn layui-btn-normal layui-btn-xs security_list_table_operate_edit" lay-event="edit"><i class="layui-icon layui-icon-edit"></i>编辑</a>
        <a class="layui-btn layui-btn-danger layui-btn-xs security_list_table_operate_del" lay-event="del"><i class="layui-icon layui-icon-delete"></i>删除</a>
        <a class="layui-btn layui-btn-xs security_list_table_operate_children" lay-event="children"><i class="layui-icon layui-icon-senior"></i>相关</a>
    </script>
    <div th:replace="magicalcoder/v102/include/main-js :: commonMain" />
    <script type="text/javascript"  th:src="@{/assets/admin/goods/goods-list.js}"></script>
</body>
</html>
